revealer: Handle child-visible properly
authorBenjamin Otte <otte@redhat.com>
Tue, 8 Jan 2019 00:29:41 +0000 (01:29 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 8 Jan 2019 00:29:41 +0000 (01:29 +0100)
commitb6d8d3975edc29cb5488990d0a39e3d2c4790d89
tree02106d08a30c235b499f6b057c4d0ebcdb836052
parent5e96129be1698287a54ebadbcd0f5d08d219ff91
revealer: Handle child-visible properly

The target position is irrelevant for determining if the child should be
visible. When the current position is 0, it needs to be hidden, period.

Fixes #1355
gtk/gtkrevealer.c